<?php
/**
 * Created by swagger_zxd.
 * User: zxd
 * Date: 2017/11/20
 * Time: 14:58
 */

namespace App\Http\Controllers\NoticeApi;


use App\Http\Controllers\Controller;
use App\Libs\FcAdmin\Tool;
use App\Services\Notice\NoticeService;

class BaseController extends Controller
{
    protected $tool;

    //注入工具类(全局函数)，注入通知服务
    public function __construct(NoticeService $noticeService, Tool $tool)
    {
        //注入服务
        $this->noticeService=$noticeService;
        //后台工具类
        $this->tool=$tool;
        //控制器初始化
        $this->_init();
    }

    public function _init(){
    }


}